<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
if (!function_exists('minus')) {
    function minus($num = 0)
    {
        if ($num == 0) return '';
        $str = '';
        for ($i = 1; $i <= $num; $i++) {
            $str .= '-';
        }
        return $str;
    }
}